import { useCookies } from '@vueuse/integrations/useCookies'

const cookies = useCookies()

const TOKEN_KEY = "____";

const setCookie = (tokenValue: string) => {
    cookies.set(TOKEN_KEY, tokenValue)
}

const getCookie = (): string => {
    return cookies.get(TOKEN_KEY)
}
const removeCookie = () => {
    cookies.remove(TOKEN_KEY)
}

export { setCookie, getCookie, removeCookie }
